home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 API Bible / Windows 95 API Bible 3 Disc Set.iso / Win32 API Bible Book 3 of 3 / CHAPTE15 / DEVCAPS.H < prev    next >
C/C++ Source or Header  |  1995-07-09  |  705b  |  28 lines

  1. #include <windows.h>
  2.  
  3. #if defined (WIN32)
  4.     #define IS_WIN32 TRUE
  5. #else
  6.     #define IS_WIN32 FALSE
  7. #endif
  8.  
  9. #define IS_NT      IS_WIN32 && (BOOL)(GetVersion() < 0x80000000)
  10. #define IS_WIN32S  IS_WIN32 && (BOOL)(!(IS_NT) && (LOBYTE(LOWORD(GetVersion()))<4))
  11. #define IS_WIN95   (BOOL)(!(IS_NT) && !(IS_WIN32S)) && IS_WIN32
  12.  
  13.  
  14. #define IDM_EXIT           100
  15. #define IDM_TEST           200
  16. #define IDM_ON             201
  17. #define IDM_OFF            202
  18. #define IDM_SENDSYSEXCL    203
  19. #define IDM_ABOUT          300
  20.  
  21. #define DLG_VERFIRST       400
  22. #define DLG_VERLAST        404
  23.  
  24. LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
  25. LRESULT CALLBACK About  (HWND, UINT, WPARAM, LPARAM);
  26.  
  27.  
  28.